package com.icare.shop.common.constant;


public enum  GlobalEnum implements EnumInterface {

    SUCCESS                 ("6666",                    "成功"),
    FAIL                    ("5555",                    "失败鸟。。"),
    ERROR                   ("4444",                    "服务器繁忙，请稍后再试....."),
    ILLEGAL_PARAM           ("5556",                    "参数非法"),
    ;


    private GlobalEnum(String code,String message){
        this.code = code;
        this.message = message;
    }
    private String code;

    private String message;

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public void setCode(String code){
        this.code = code;
    }

    public void setMessage(String message){
        this.message = message;
    }
}
